import request from "../utils/request.js"

export function audit(data) {
	return request({
		url: "/system/tenant/audit/list",
		data
	})
}
//租户信息审批
export function auditPost(data) {
	return request({
		url: "/system/tenant/audit",
		method: 'post',
		data
	})
}


export function tenantdetail(id) {
	return request({
		url: `/system/tenant/audit/detail/${id}`,
	})
}
export function ownerRudit(data) {
	return request({
		url: "/system/owner/audit/list",
		data
	})
}
//房东信息审批
export function ownerPost(data) {
	return request({
		url: "/system/owner/audit",
		method: 'post',
		data
	})
}
export function ownerdetail(id) {
	return request({
		url: `/system/owner/audit/detail/${id}`,
	})
}

export function houselist(data) {
	return request({
		url: "/house/house/system/list",
		data
	})
}
export function roomlist(data) {
	return request({
		url: "/house/house/room/list",
		data
	})
}
export function tenantlist(data) {
	return request({
		url: "/house/tenant/list",
		data
	})
}